import {ConfigProvider, Layout} from "antd";
import LocalWeather from "@/components/SideBar/LocalWeather";
import MainContent from "@/components/MainContent";
import FooterContent from "@/components/FooterContent";

export default function App() {

    return (
        <ConfigProvider
            theme={{
                components: {
                    Layout: {
                        /* 这里是你的组件 token */
                        bodyBg: 'transparent',
                    },
                },
            }}
        >
            <Layout>
                {/*<SiteHeader/>*/}
                <Layout hasSider>
                    <Layout>
                        <Layout>
                            <MainContent/>
                            <LocalWeather/>
                        </Layout>
                        <FooterContent/>
                    </Layout>
                </Layout>
            </Layout>
        </ConfigProvider>

    )
}